package org.example.commonapi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 课程子章节视频表
 * @TableName course_son_chapters_video
 */
@TableName(value ="course_son_chapters_video")
@Data
public class CourseSonChaptersVideo implements Serializable {
    /**
     * 视频id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 章节id
     */
    private Long chapterId;

    /**
     * 子章节名称
     */
    private String name;

    /**
     * 视频链接
     */
    private String videoLink;

    /**
     * 状态
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}